<?php
class News extends AppModel{
	var $name = 'News';
	var $useTable = 'news';
	var $primaryKey = 'id';

	function get($id = null){
		return $this->find('first', 
			array(
				'conditions' => array(
					'id' => $id
				)
			)
		);
	}
}

?>
